package com.weiter.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weiter.common.core.core.domain.entity.SysOperLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * 操作日志
 * @author weiter
 */
@Mapper
public interface SysOperLogMapper extends BaseMapper<SysOperLog> {

    /**
     * 清空操作日志
     */
    @Update("truncate table sys_oper_log")
    void cleanOperLog();
}
